<div class="navi">
    <div class="left">
        <div class="btn-group">
            <?php echo UI\Tag::btn('Add new') ?>
            <?php
            echo UI\Tag::btn('<span class="ico-equalizer"></span>', array (
                'title' => 'Dropdown',
                'onclick' => '(function($) {
                    alert(1);
                })(jQuery);'
            ));
            ?>
        </div>
    </div>
    <div class="right">
        <div class="page-title">Dashboard</div>
        <div class="btn-group">
            <?php echo UI\Tag::icon('grid-2') ?>
            <?php echo UI\Tag::icon('settings'); ?>
        </div>
    </div>
</div>
<div class="content">
    <div class="sidebar"></div>
    <div class="content-right">
        <?php 
            $form = new \UI\Form();
            $form->add_row(array(
                'label' => 'Username',
                'required' => true,
                'content' => \Form::input('username')
            ));
            $form->add_row(array(
                'label' => 'Password',
                'required' => true,
                'content' => \Form::password('password')
            ));
            $form->add_row(array(
                'label' => 'Email',
                'required' => true,
                'content' => \Form::input('email')
            ));
            $form->add_row(array(
                'label' => 'Address',
                'content' => \Form::input('address')
            ));
            $form->add_btn(\Form::submit(null, 'Update', array('class' => 'btn btn-primary')));
            $form->add_btn(\Form::reset(null, 'Reset', array('class' => 'btn')));

            echo $form->html();
        ?>
    </div>
</div>